package com.example.entity.mes;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("[File]")
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "审核签核文件管理实体类")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键id")
    private Integer id;

    @TableField("Parent")
    private String parent;

    @TableField("KeyValues")
    private String keyvalues;

    @TableField("CompanyID")
    private String companyid;

    @TableField("UserID")
    private String userid;

    @TableField("Type")
    private String type;

    @TableField("SeqNo")
    private String seqno;

    @TableField("FileName")
    private String filename;

    @TableField("DocID")
    private String docid;

    @TableField("Revision")
    private String revision;

    @TableField("AddDate")
    private String adddate;

    @TableField("AddTime")
    private String addtime;

    @TableField("KeyFields")
    private String keyfields;

    @TableField("code")
    @ApiModelProperty("员工编号")
    private String code;

    @TableField("name")
    @ApiModelProperty("员工姓名")
    private String name;

    @TableField("url")
    @ApiModelProperty("文件路径")
    private String url;
}
